package com.zzyq.pc.web.configure.service;

import java.util.List;

import com.zzyq.pc.common.plugin.db.PageView;
import com.zzyq.pc.web.configure.model.Enshrine;

public interface IEnshrineService {
	/**
	 * 新增
	 * @param record
	 */
	boolean insert(Enshrine record);
	/**
	 * 删除
	 * @param ifmId
	 * @param articleId
	 */
	boolean deleteById(String ifmId,String articleId);
	/**
	 * 查询
	 * @param pageView
	 * @param enshrineTitle
	 */
	List<Enshrine> selectAll(PageView pageView,String enshrineTitle);
	
	/**
	 * 用于批量取消收藏
	 * @param id
	 * @return
	 */
	boolean deleteByPrimaryKey(Integer id);
}
